<script>
  function Fn(...args) {
    console.log('Arguments',Array.prototype.slice.call(arguments))
    console.log('args-Fn',args)
    this.name = 'moniaca';
    this.age = 18;
  }

  const FnNoNew = (...args) => {
    console.log('args',args)
  }

  const fn1 = new Fn(1,2,3,4,5,6);
  console.log('fn1',fn1)
  const fn2 = FnNoNew(1,2,3);
  console.log('fn2',fn2)
</script>